### 4.3.15 Bluetooth Control Tank
#### 4.3.15.1 Introduction

We’ve learned the basic knowledge of Bluetooth. And in this lesson, we will make a Bluetooth remote smart car. In this experiment, we default the HM-10 Bluetooth module as a Slave and the cellphone as a Host.
keyes BT car is an APP rolled out by keyestudio team. You can control the robot car by it readily.
#### 4.3.15.2 Download and install APP
⚠️ **Note: If the APP has already been downloaded and installed before, this step can be skipped directly.**
1. Visit www.keyestudio.com

2. Find “**WiKi**”,and then click "**Docs Tutorials**".



3. Click “**Download_Center**” to find the APP.


**4. Android**
Find “**Turtle Car**” (**allow APP to access“location”, you could enable “location”in settings of your cellphone**).

Download **Turtle Car.apk**.

Next, follow the instructions to install the app. The app icon is shown below after installation.

Click app to enter the following page.

**5. IOS**
Find “**keyes BT Car**” (**allow APP to access“location”, you could enable “location”in settings of your cellphone**).

Click **Jump to the App Store** to navigate to the App Store.

Search for "**keyes BT car**" directly in the App Store.

After installation, enter its interface.

Click “**Connect**” to search and pair Bluetooth.

Click  to enter the main page of turtle smart car.

#### 4.3.15.3 Wiring Diagram
1. RXD, TXD, GND and VCC of the BT module are connected to TX, RX, G(GND) and 5V(VCC).
STATE and BRK of the BT module don’t need connection.
2. GND, VCC, SDA and SCL of the 8*8 dot matrix module are connected to G(GND), V(VCC), A4 and A5 of the expansion board.
3. The power is connected to the BAT port
⚠️ **Attention: You do not need to disassemble the Smart Little Turtle Robot and re-connect the module. Here this disgram will be convenient for you to program and write code.**

⚠️ **Note: Remove the BT module when you are uploading the code, otherwise you will fail to upload it.**
#### 4.3.15.4 APP interface

#### 4.3.15.5 Flow Chart

#### 4.3.15.6 Test Code
⚠️ **Note: Remove the BT module when you are uploading the code, otherwise you will fail to upload it.**

#### 4.3.15.7 Test Reuslt
⚠️ **Note: Remove the BT module when you are uploading the code, otherwise you will fail to upload it. When the code uploading process is done, open the GPS on your phone, and then reconnect the Bluetooth module.**
Upload the cod and power up and turn the DIP switch to ON. Inset the BT module and open your cellphone to connect Bluetooth to control the turtle car.
The turtle can move forward, backward, turn left and right and so on. Also the 8*8 module will show corresponding patterns